package com.jc;

import java.util.ArrayList;
import java.util.List;

public class Machine {
	private List<Object> objects = new ArrayList<>();
	private List<Payment> payment = new ArrayList<>();
	
	public void numobj() {
		objects.add(new Object(1,"可口可乐",3.0f,3));
		objects.add(new Object(2,"矿泉水",2.0f,7));
		objects.add(new Object(3,"果粒橙",3.0f,5));
		objects.add(new Object(4,"维C多",5.0f,0));
		objects.add(new Object(5,"营养快线",5.0f,8));
	}
	
	public void displayobj() {
		Object oc = new Object();
		System.out.println("物品信息");
		for(Object object : objects) {
			System.out.print("");
		}
	}
	
	public static void main(String[] args) {
		while(true) {
			System.out.println("请输入序号");
			System.out.println("1.销售");
			System.out.println("2.售后补货");
		}
	}
	
}
